package org.jumiz.dbview.own.entity;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.relational.core.mapping.Column;
import org.springframework.data.relational.core.mapping.Table;

@Data
@Table("connect")
public class ConnectEntity {

    @Id
    private Long id;

    private String name;

    private String address;

//    private Integer port;

    @Column("db_type")
    private DbType dbType;

    @Column("login_name")
    private String loginName;

    private String password;

}
